package fhp.hlhj.giantfold.presenter

import com.lzy.okgo.model.HttpParams
import fhp.hlhj.giantfold.interfaces.IShareRed
import fhp.hlhj.giantfold.javaBean.BaseBean
import fhp.hlhj.giantfold.module.ShareRedModule

/**
 * Created by Administrator on 2018\2\10 0010.
 */
class ShareRedPresenter(private val iShare:IShareRed) : ShareRedModule.OnShareRedResp {
    private val module=ShareRedModule()

    fun shareRed(params: HttpParams){
        module.shareRed(params,this)
    }

    override fun showLoading() {


    }

    override fun onResp(t: BaseBean) {
        iShare.onShareRedResp(t)
    }
}